﻿using Microsoft.Web.WebView2.WinForms;
using Microsoft.Web.WebView2.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using iNKORE.UI.WPF.Modern.Controls;

namespace Ink_Canvas
{
    /// <summary>
    /// Window16.xaml 的交互逻辑
    /// </summary>
    public partial class Window16 : Window
    {
        public Window16()
        {
            InitializeComponent();
            webview2.Source = new Uri("about:blank");
        }
        private void chaci_MouseUp(object sender, RoutedEventArgs e)
        {
            string text = textBox1.Text;
            webview2.CoreWebView2.Navigate("https://hanyu.baidu.com/s?wd=" + text );

        }
    }
}
